package models;

import java.util.List;

public class Course {
	private int id;
	private String name;
	private int duration;
	private int year;
	private List<Student> students;
	private List<TeachingSession> teachingSessions;
	
	public Course(){
		
	}
	
	public int getId(){
		return this.id;
	}
	
	public void setId(int id){
		this.id = id;
	}
	
	public String getName(){
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setDuration(int duration ){ 
		this.duration = duration;
	}
	
	public int getDuration(){
		return this.duration;
	}
	
	public void setYear(int year) {
		this.year = year;
	}
	
	public int getYear() {
		return this.year;
	}

	public List<Student> getStudents() {
		return students;
	}

	public void setStudents(List<Student> students) {
		this.students = students;
	}

	public List<TeachingSession> getTeachingSessions() {
		return teachingSessions;
	}

	public void setTeachingSessions(List<TeachingSession> teachingSessions) {
		this.teachingSessions = teachingSessions;
	}
	
}
